#include "Graph.hpp"
#include "tools.hpp"
#include <fmt/base.h>

#include <cstdio>

long long factorial(long long n)
{
    long long ans = n == 0 ? 0 : 1;
    int       i   = n > 0 ? -1 : 1;
    while (n != 0) {
        ans *= n;
        n += i;
    }
    return ans;
}

int main()
{
    auto& ansi = lxj::OpenANSI::instance();
    ansi.set_mode(1).set_color(76);
    lxj::Time time;
    auto&     random = lxj::Random<int>::instance();

    std::string stamp("abc"), target("ababc");
    auto        ans = lxj::movesToStamp(stamp, target);
    for (auto i : ans) {
        fmt::print("{}, ", i);
    }

    std::puts("");
    return 0;
}